#pragma once

#include "XVulkan.h"

class IndexBuffer : public XBufferObject
{
  public:
    int mIndexCount;
    unsigned int *mIndexes;
    int mCurrentIndex;

  public:
    IndexBuffer();
    ~IndexBuffer();

    void SetSize(int count);
    int GetSize();

    void AppendIndex(int index);

    void SubmitData();
};
